package pojo;
import jakarta.validation.constraints.*;
import lombok.Data;

@Data
public class VirtualProduct {
    private Long id;

    @NotBlank
    private String name;

    private String description;

    @Min(1)
    private Integer pointCost;

    @Min(0)
    private Integer stock;

    private Long categoryId;

    private Integer status = 1;
}